<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/jsp/pages/include/global.jsp" %>

<c:set target="${self}" property="title">系统授权管理</c:set>

<c:set target="${self.css}" property="plugins">
<link href="${self.path.metronic}/assets/global/plugins/jstree/dist/themes/default/style.min.css" rel="stylesheet" type="text/css" />
<link href="${self.path.metronic}/assets/global/plugins/datatables/datatables.min.css" rel="stylesheet" type="text/css" />
<link href="${self.path.metronic}/assets/global/plugins/datatables/plugins/bootstrap/datatables.bootstrap.css" type="text/css" />
<link href="${self.path.metronic}/assets/global/plugins/select2/css/select2.min.css" rel="stylesheet" type="text/css" />
<link href="${self.path.metronic}/assets/global/plugins/select2/css/select2-bootstrap.min.css" rel="stylesheet" type="text/css" />
</c:set>

<c:set target="${self.js}" property="plugins">
<script src="${self.path.metronic}/assets/global/plugins/jstree/dist/jstree.min.js" type="text/javascript"></script>
<script src="${self.path.metronic}/assets/global/scripts/datatable.js" type="text/javascript"></script>
<script src="${self.path.metronic}/assets/global/plugins/datatables/datatables.min.js" type="text/javascript"></script>
<script src="${self.path.metronic}/assets/global/plugins/datatables/plugins/bootstrap/datatables.bootstrap.js" type="text/javascript"></script>
<script src="${self.path.metronic}/assets/global/plugins/select2/js/select2.full.min.js" type="text/javascript"></script>
</c:set>

<c:set target="${self.css}" property="main">

</c:set>

<c:set target="${self.js}" property="main">
<script src="${self.path.resources}/console/js/auth.js" type="text/javascript"></script>
</c:set>

<c:set target="${self.content}" property="main">
 <input type="hidden" name="pobjId"/>
 <input type="hidden" name="pobjType"/>
 <input type="hidden" name="pType"/>
 <div class="row">
    <div class="col-md-6">
		<div class="portlet light">
           <div class="portlet-title">
               <div class="caption">
                   <i class="fa fa-gift"></i>资源分类</div>
           </div>
           <div class="portlet-body">
               <div class="panel-group accordion" id="accordion_auth">
                   <div class="panel panel-default">
                       <div class="panel-heading">
                           <h4 class="panel-title">
                               <a class="accordion-toggle accordion-toggle-styled" data-toggle="collapse" data-parent="#accordion_auth" href="#collapse_org_user"> 机构用户 </a>
                           </h4>
                       </div>
                       <div id="collapse_org_user" class="panel-collapse in">
                           <div class="panel-body">
                               	<div id="org_user_tree"></div>
                           </div>
                       </div>
                   </div>
                   <div class="panel panel-default">
                       <div class="panel-heading">
                           <h4 class="panel-title">
                               <a class="accordion-toggle accordion-toggle-styled collapsed" data-toggle="collapse" data-parent="#accordion_auth" href="#collapse_role"> 系统角色 </a>
                           </h4>
                       </div>
                       <div id="collapse_role" class="panel-collapse collapse">
                           <div class="panel-body">
                              <table class="table table-striped table-bordered table-hover table-checkable order-column" id="role_table">
				                 <thead>
				                     <tr>
				                         <th> 角色标识 </th>
				                         <th> 角色名称 </th>
				                         <th> 操作</th>
				                     </tr>
				                 </thead>
				                 <tbody>
				                     
				                 </tbody>
				             </table>
                           </div>
                       </div>
                   </div>
               </div>
           </div>
       </div>
	
	</div>
	
	<div class="col-md-6">
		<div class="portlet light">
	         <div class="portlet-title">
	             <div class="caption">
	                 <i class="fa fa-users"></i>资源<span id="authDesc"></span>菜单列表</div>
	             <div class="actions">
	                 <a href="javascript:;" class="btn btn-default btn-sm saveAuth disabled">
	                     <i class="fa fa-plus"></i> 保存 </a>
	             </div>
	         </div>
	         <div class="portlet-body">
	             <div id="menu_tree"></div>
	         </div>
	     </div>
	
	</div>
</div>


</c:set>

<%@ include file="/WEB-INF/views/jsp/pages/include/main.jsp"%>